#include<stdio.h>
int main()
{
	int len = 0;
	int ch = 0;
	printf("a");
	while ((ch=getchar()) != '\n')
		len++;
	printf("%d\n", len);
	return 0;
}